module.exports = (app) => {
    const { router, controller } = app;

    // 分类
    router.get('/v1/posCategory/page', controller.ucenter.posCategory.page)
    router.post('/v1/posCategory/create', controller.ucenter.posCategory.create);
    router.put('/v1/posCategory/edit', controller.ucenter.posCategory.edit)
    router.delete('/v1/posCategory/del', controller.ucenter.posCategory.del)
    router.get('/v1/posCategory/select', controller.ucenter.posCategory.select);

    // 标签
    router.get('/v1/posTag/page', controller.ucenter.posTag.page)
    router.post('/v1/posTag/create', controller.ucenter.posTag.create);
    router.put('/v1/posTag/edit', controller.ucenter.posTag.edit)
    router.delete('/v1/posTag/del', controller.ucenter.posTag.del)
    router.get('/v1/posTag/select', controller.ucenter.posTag.select);
}